Simplify SIMD arg processing. NFC#27193
Conversation
df4d40c to
9ad5688
Compare
tlively
left a comment
There was a problem hiding this comment.
Even with the set, this does an awful lot of repeated work. But I guess performance doesn't really matter here?
The more efficient algorithm would be to create the set of user args, then linear search from highest to lowest feature in the feature tower to find the index of the highest enabled feature. Then you can iterate through the cflags up to that index.
|
FWIW, this reminds me of that Anyway, that could probably be addressed in a follow-up. |
Yes, that can be a separate non-NFC change |
9ad5688 to
93f112c
Compare
I think this a nice simple cleanup regardless of possible future changes. |
No description provided.